﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EnvironSystem
{
    public interface IEnvironmentManager:IInitable
    {
        IEnvironmentElement[] GetElementsInArea(AreaType type, IAreaArgs args);

        void RegisterElement(int id,IEnvironmentElement element);

        void RemoveElement(int id, IEnvironmentElement element);

        void RegisterSpawn(int id, ISpawn spawn);

        object Create(int id, string tag);

        void RemoveSpawn(int id, ISpawn spawn);
    }
}
